package com.dslcode.cloud.provider.order.mapper;


import com.dslcode.cloud.common.dto.order.OrderDetailDTO;
import com.dslcode.cloud.common.model.order.Order;

import java.util.List;

/**
 * Created by dongsilin on 2017/9/21.
 */
public interface OrderMapper {

    List<Order> findAll();
    OrderDetailDTO findById(Long id);
    Order findByPaySn(String paySn);

    Integer save(Order order);
}
